var express = require('express');
var router = express.Router();
var r = require('../biz/users');

/* GET users listing. */
router.get('/login', function(req, res, next) {
  r.login(req,res)
});

router.post('/regist', function(req, res, next) {
    r.regist(req,res)
});
router.get('/getUserInfo', function(req, res, next) {
    r.getUserInfo(req,res)
});
module.exports = router;
